Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help message revamp #161

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Help message revamp #161

wants to merge 4 commits into from

Conversation

mikaelmello
Copy link
Owner

@mikaelmello mikaelmello commented Jun 15, 2023

Fixes #143

@@ -66,8 +66,12 @@ impl Clone for Box<dyn Autocomplete> {
/// Empty struct and implementation of Autocomplete trait. Used for the default
/// autocompleter of `Text` prompts.
#[derive(Clone, Default)]
#[deprecated(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am very comfortable with it.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I'm not sure if this is a "I'm comfortable with adding this" or "I'm comfortable with the struct, we don't need the deprecated" lol

For context, the only use was as the default value inside the prompt impl when the prompt config was None, so I even thought of just removing the NoAutoComplete struct altogether

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change help message when prompt is skippable
2 participants